Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / LayoutManager Class / FindMergedCell Method / FindMergedCell(Int32,Int32,Int32,Int32,Reference[]) Method
An integer value indicates the top row index of the reference.
An integer value indicates the left column index of the reference.
An integer value indicates the bottom row index of the reference.
An integer value indicates the right column index of the reference.
An array represents all merged cells in specified reference


In This Topic
    FindMergedCell(Int32,Int32,Int32,Int32,Reference[]) Method
    In This Topic
    Finds all merged cells which intersect with the specified reference.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindMergedCell( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByRef mergedCells() As Reference _
    ) As Boolean
    'Usage
     
    
    Dim instance As LayoutManager
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim mergedCells() As Reference
    Dim value As Boolean
     
    value = instance.FindMergedCell(row, column, row2, column2, mergedCells)
    public bool FindMergedCell( 
       int row,
       int column,
       int row2,
       int column2,
       ref Reference[] mergedCells
    )

    Parameters

    row
    An integer value indicates the top row index of the reference.
    column
    An integer value indicates the left column index of the reference.
    row2
    An integer value indicates the bottom row index of the reference.
    column2
    An integer value indicates the right column index of the reference.
    mergedCells
    An array represents all merged cells in specified reference

    Return Value

    true if there is at least one intersected merged cell; otherwise, false.
    See Also